/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.oop.example.processing.msdoc;

/**
 *
 * @author -
 */
public class LengthComparator implements java.util.Comparator<String> {

        @Override
        public int compare(String s1, String s2) {
            //return s1.length() - s2.length();
            return s2.length() - s1.length();
        }
    }
